/**
 * Created by sunyx on 2016/7/20.
 */

import { reg, string } from './baseTypes';

export const mobile = reg(/^1\d{10}$/);
export const password = reg(/^.{24}$/);
export const verifiCode = reg(/^\d{6}$/);
export const name = reg(/^.{3,45}$/);
export const assetsKey = reg(/^\w{40}$/);